package com.ztf.shopping.bean;

import java.math.BigDecimal;

public class Order {
    private int id;
    private int articleId;
    private String userName;
    private String articleName;
    private int number;
    private String money;

    public Order(int id, String userName, String articleName, int number, String money) {
        this.id = id;
        this.userName = userName;
        this.articleName = articleName;
        this.number = number;
        this.money = money;
    }

    public Order(int id, int articleId, String userName, String articleName, int number, String money) {
        this.id = id;
        this.articleId = articleId;
        this.userName = userName;
        this.articleName = articleName;
        this.number = number;
        this.money = money;
    }

    public Order() {
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", articleName='" + articleName + '\'' +
                ", number=" + number +
                ", money='" + money + '\'' +
                '}';
    }
}
